package com.partterns.strategy;

/**
 * 计谋有了，还要有锦囊
 */
public class Context {
    private IStrategy iStrategy;
    public Context(IStrategy iStrategy){
        this.iStrategy=iStrategy;
    }
    //计谋有了，我要出招了
    public void operator(){
        this.iStrategy.operator();
    }
}
